package com.aos.erp.gov.ex.model.ro;


import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum FieldStatus implements IEnum {

    fail(-1, "不合格"),
    ok(0, "合格"),
    missExam(1, "缺考"),
    noResult(2, "等待结果");
    private int value;
    private String desc;

    @Override
    public Serializable getValue() {
        return this.value;
    }

    FieldStatus(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }
}
